package com.example.myapplication;

import androidx.appcompat.app.AppCompatActivity;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class UC5 extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_u_c5);
    }
    public void OnClick(View v)
    {
        if(v.getId()==R.id.ret5)
        {
            Intent intent=new Intent();
            ComponentName cname=new ComponentName(this,MainActivity.class);
            intent.setComponent(cname);
            startActivity(intent);
        }
    }
}